package com.volunteer.mapper;

import com.volunteer.model.ProvincialCity;

import java.util.List;

public interface ProvincialCityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProvincialCity record);

    int insertSelective(ProvincialCity record);

    ProvincialCity selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProvincialCity record);

    int updateByPrimaryKey(ProvincialCity record);

    List<ProvincialCity> selectByLevel(Integer level);// 根据级别id获取数据

    List<ProvincialCity> selectByParentId(Long parentId);// 根据父级id获取数据
}